package com.goodlearning.gloriamobile.dto;

import java.io.Serializable;
import android.os.Parcel;
import android.os.Parcelable;
/**
 * 등록금 리스트에서 결과 값으로 받아야할 값들
 * @author rapty54
 *
 */
public class GetPaymentListDto implements Serializable, Parcelable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 9090975920627272129L;
	
	private String pId;
	
	private String rfId;
	
	private String LastDay;
	
	private String State;
	
	private String TotalPay;
	
	private String m_id;
	
	private String m_name;
	
	private String RegFee;
	
	private String hYear;
	
	private String hgCd;
	
	private String hgNm;
	
	private String hakgi;
	
	private String hgwNm;
	
	private String refundMoney;
	
	private String DeductFee;
	
	private String tNm;
	
	public GetPaymentListDto() {
		
	}
	
	public GetPaymentListDto(Parcel in) {
		readFromParcel(in);
	}
	
	public String getpId() {
		return pId;
	}

	public void setpId(String pId) {
		this.pId = pId;
	}

	public String getRfId() {
		return rfId;
	}

	public void setRfId(String rfId) {
		this.rfId = rfId;
	}

	public String getLastDay() {
		return LastDay;
	}

	public void setLastDay(String lastDay) {
		LastDay = lastDay;
	}

	public String getState() {
		return State;
	}

	public void setState(String state) {
		State = state;
	}

	public String getTotalPay() {
		return TotalPay;
	}

	public void setTotalPay(String totalPay) {
		TotalPay = totalPay;
	}

	public String getM_id() {
		return m_id;
	}

	public void setM_id(String m_id) {
		this.m_id = m_id;
	}

	public String getM_name() {
		return m_name;
	}

	public void setM_name(String m_name) {
		this.m_name = m_name;
	}

	public String getRegFee() {
		return RegFee;
	}

	public void setRegFee(String regFee) {
		RegFee = regFee;
	}

	public String gethYear() {
		return hYear;
	}

	public void sethYear(String hYear) {
		this.hYear = hYear;
	}

	public String getHgCd() {
		return hgCd;
	}

	public void setHgCd(String hgCd) {
		this.hgCd = hgCd;
	}

	public String getHgNm() {
		return hgNm;
	}

	public void setHgNm(String hgNm) {
		this.hgNm = hgNm;
	}

	public String getHakgi() {
		return hakgi;
	}

	public void setHakgi(String hakgi) {
		this.hakgi = hakgi;
	}

	public String getHgwNm() {
		return hgwNm;
	}

	public void setHgwNm(String hgwNm) {
		this.hgwNm = hgwNm;
	}
	
	public static final Parcelable.Creator CREATOR=new Parcelable.Creator() {

		@Override
		public GetPaymentListDto createFromParcel(Parcel in) {
			return new GetPaymentListDto(in);
		}

		@Override
		public GetPaymentListDto[] newArray(int size) {
			return new GetPaymentListDto[size];
		}
	};
	
	@Override
	public int describeContents() {
		return 0;
	}

	@Override
	public void writeToParcel(Parcel dest, int flags) {
		dest.writeString(pId);
		dest.writeString(rfId);
		dest.writeString(LastDay);
		dest.writeString(State);
		dest.writeString(TotalPay);
		dest.writeString(m_id);
		dest.writeString(m_name);
		dest.writeString(RegFee);
		dest.writeString(hYear);
		dest.writeString(hgCd);
		dest.writeString(hgNm);
		dest.writeString(hakgi);
		dest.writeString(hgwNm);
		dest.writeString(refundMoney);
		dest.writeString(DeductFee);
		dest.writeString(tNm);
	}
	
	private void readFromParcel(Parcel in) {
		pId=in.readString();
		rfId=in.readString();
		LastDay = in.readString();
		State = in.readString();
		TotalPay=in.readString();
		m_id=in.readString();
		m_name=in.readString();
		RegFee=in.readString();
		hYear=in.readString();
		hgCd=in.readString();
		hgNm=in.readString();
		hakgi=in.readString();
		hgwNm=in.readString();
		refundMoney=in.readString();
		DeductFee=in.readString();
		tNm=in.readString();
	}

	public String getRefundMoney() {
		return refundMoney;
	}

	public void setRefundMoney(String refundMoney) {
		this.refundMoney = refundMoney;
	}

	public String getDeductFee() {
		return DeductFee;
	}

	public void setDeductFee(String deductFee) {
		DeductFee = deductFee;
	}

	public String gettNm() {
		return tNm;
	}

	public void settNm(String tNm) {
		this.tNm = tNm;
	}
	
}
